package com.yilin.platform.base_core.tools.pab.base;

import com.yilin.platform.base_core.tools.pab.entity.DataXmlHeader;

import java.io.Serializable;

public class ResResult<Req,Res> implements Serializable {

    private DataXmlHeader reqHeader;
    private DataXmlHeader resHeader;
    private Req reqBody;
    private Res resBody;

    public void setReqData(DataXmlHeader reqHeader,Req reqBody) {
        this.reqHeader = reqHeader;
        this.reqBody = reqBody;
    }
    public void setResData(DataXmlHeader resHeader,Res resBody) {
        this.resHeader = resHeader;
        this.resBody = resBody;
    }

    public DataXmlHeader getReqHeader() {
        return reqHeader;
    }

    public void setReqHeader(DataXmlHeader reqHeader) {
        this.reqHeader = reqHeader;
    }

    public DataXmlHeader getResHeader() {
        return resHeader;
    }

    public void setResHeader(DataXmlHeader resHeader) {
        this.resHeader = resHeader;
    }

    public Req getReqBody() {
        return reqBody;
    }

    public void setReqBody(Req reqBody) {
        this.reqBody = reqBody;
    }

    public Res getResBody() {
        return resBody;
    }

    public void setResBody(Res resBody) {
        this.resBody = resBody;
    }
}
